﻿using NetByDocker.Model.HttpMange;

namespace NetByDocker.Domain.Model.HttpMange
{
    public class UserPageRequest
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页显示数目
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 用户名
        /// </summary>
        public string? Name { get; set; }
    }

    public class UserPageResult
    {
        /// <summary>
        /// 用户信息列表
        /// </summary>
        public List<UserDto> UserList { get; set; }

        /// <summary>
        /// 总条数
        /// </summary>
        public int Total { get; set; }
    }
}